← Index
NYTProf Performance Profile   
For starman worker -M FindBin --max-requests 50 --workers 2 --user=kohadev-koha --group kohadev-koha --pid /var/run/koha/kohadev/plack.pid --daemonize --access-log /var/log/koha/kohadev/plack.log --error-log /var/log/koha/kohadev/plack-error.log -E deployment --socket /var/run/koha/kohadev/plack.sock /etc/koha/sites/kohadev/plack.psgi
  Run on Fri Jan 8 14:31:06 2016
Reported on Fri Jan 8 14:31:39 2016

Filename(eval 1113)[/usr/share/perl5/Sub/Quote.pm:5]
StatementsExecuted 542 statements in 923µs
Eval Invoked At/usr/share/perl5/Sub/Quote.pm line 5
Sibling evals1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
355331.01ms3.10msDBIx::Class::Storage::DBI::::_server_infoDBIx::Class::Storage::DBI::_server_info
11113µs22µsSub::Quote::::BEGIN@5.2972 Sub::Quote::BEGIN@5.2972
1117µs7µsDBIx::Class::Storage::DBI::::BEGIN@11.2973DBIx::Class::Storage::DBI::BEGIN@11.2973
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1{
222µs my $orig = ${$_[1]->{"\$orig"}};
31400ns my $_UNQUOTED = ${$_[1]->{"\$_UNQUOTED"}};
41200ns my $_QUOTED = ${$_[1]->{"\$_QUOTED"}};
5286µs230µs
# spent 22µs (13+8) within Sub::Quote::BEGIN@5.2972 which was called: # once (13µs+8µs) by Sub::Quote::_clean_eval at line 5
no warnings 'closure';
# spent 22µs making 1 call to Sub::Quote::BEGIN@5.2972 # spent 8µs making 1 call to warnings::unimport
6
# spent 3.10ms (1.01+2.09) within DBIx::Class::Storage::DBI::_server_info which was called 355 times, avg 9µs/call: # 177 times (589µs+1.71ms) by DBIx::Class::Storage::DBI::mysql::sql_maker at line 46, avg 13µs/call # 177 times (419µs+378µs) by DBIx::Class::Storage::DBI::mysql::sql_maker at line 112 of DBIx/Class/Storage/DBI/mysql.pm, avg 5µs/call # once (2µs+0s) by DBIx::Class::Storage::DBI::mysql::sql_maker at line 56 of Sub/Defer.pm
sub DBIx::Class::Storage::DBI::_server_info {
7 $_QUOTED if 0;
817726µs $_UNQUOTED if 0;
9# BEGIN quote_sub PRELUDE
10package DBIx::Class::Storage::DBI;
11
# spent 7µs within DBIx::Class::Storage::DBI::BEGIN@11.2973 which was called: # once (7µs+0s) by Sub::Quote::_clean_eval at line 16
BEGIN {
1211µs $^H = "133090";
131300ns ${^WARNING_BITS} = "UUUUUUUUUUUUUUUUU";
1415µs %^H = (
15 );
161112µs17µs}
# spent 7µs making 1 call to DBIx::Class::Storage::DBI::BEGIN@11.2973
17# END quote_sub PRELUDE
18
19177134µs if (
20 # only fire when invoked on an instance, a valid class-based invocation
21 # would e.g. be setting a default for an inherited accessor
22 ref $_[0]
23 and
24 ! $_[0]->{_driver_determined}
25 and
26 ! $_[0]->{_in_determine_driver}
27 and
28 # if this is a known *setter* - just set it, no need to connect
29 # and determine the driver
30 ( 1 or @_ <= 1 )
31 and
32 # Only try to determine stuff if we have *something* that either is or can
33 # provide a DSN. Allows for bare $schema's generated with a plain ->connect()
34 # to still be marginally useful
35 $_[0]->_dbi_connect_info->[0]
36 ) {
37 $_[0]->_determine_driver;
38
39 # work around http://rt.perl.org/rt3/Public/Bug/Display.html?id=35878
40 goto $_[0]->can("_server_info") unless DBIx::Class::_ENV_::BROKEN_GOTO;
41
42 my $cref = $_[0]->can("_server_info");
43 goto $cref;
44 }
45
46177552µs1772.30ms goto $orig;
# spent 2.30ms making 177 calls to DBIx::Class::Storage::DBI::_server_info, avg 13µs/call
47 }
4811µs $$_UNQUOTED = \&DBIx::Class::Storage::DBI::_server_info
49}
5014µs1;
51
52;